package cn.sunjinxin.trade.domain.gateway;

import cn.sunjinxin.trade.domain.model.ProductSpu;
import org.springframework.stereotype.Component;

/**
 * @author issavior
 */
public interface ProductRpcGateway {

    public ProductSpu getProductSpu(Long productSkuId);

    public Boolean deductInventory(Long productSkuId);

    public Boolean replenishmentInventory(Long productSkuId);


}
